package com.movie.playvideos.common;


import android.net.Uri;

public class URL {
	public static final String domain = "http://usermng.aditmedia.net/";
	
	public static String urlGetToken (){
		return domain + "index.php?option=com_user&view=login&format=json";
	}
	public static String urlAuthen (String userName, String token){
		userName = Uri.encode(userName);
		//String url = domain + "index.php?username=" + userName+ "&Submit=Login&option=com_user&task=login&return=aW5kZXgucGhwP29wdGlvbj1jb21fdXNlciZ2aWV3PWxvZ2luJmZvcm1hdD1qc29u=&" + token + "=1&format=json";
		String url = "http://aditmedia.net/index.php";
		return url;
	}
	public static String urlGetLiveChannel (String signature){
		String url = domain + "index.php?option=com_api&controller=channel&task=list&format=json&public_key=a2656ca6def2d1c61c4a5bb800e836f83957fb0d&signature=" + signature;
		
		return url;
	}
}
